<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="/dtpr/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <link href="/dtpr/Flat-UI/css/flat-ui.min.css" rel="stylesheet" type="text/css">
    <link href="/dtpr/css/home.css" rel="stylesheet" type="text/css">
    <link href="/dtpr/css/test.css" rel="stylesheet" type="text/css">
    <script src="/dtpr/bootstrap/js/jquery-3.2.1.min.js"></script>
    <script src="/dtpr/js/home.js"></script>
    <title>试题详情</title>
</head>
<body>
<!--网页头-->
<script src="/dtpr/js/head.js"></script>

<!--网页体-->
<div class="main">
    <div class="container-fluid">
        <!--页面左侧导航-->
        <script src="/dtpr/html/teacher/test/js/navigation.js"></script>
        <!--网页正文-->
        <div class="col-sm-10">
            <div class="p-body">
                <!--选择题集-->
                <div class="select-test p-title row">
                    <div class="col-sm-3"></div>
                    <div class="col-sm-3 text-right">
                        <select id="select-test" class="form-control">
                        </select>
                    </div>
                    <div class="col-sm-6 text-left">
                        <button class="btn btn-default border-none" data-toggle="modal" data-target="#changeTest"><span class="glyphicon glyphicon-pencil"></span></button>
                        <button class="btn btn-default border-none" data-toggle="modal" data-target="#delTest"><span class="glyphicon glyphicon-remove" style="color: red;"></span></button>
                    </div>
                    <!--修改题集modal-->
                    <div class="modal fade" id="changeTest" tabindex="-1" role="dialog">
                        <div class="modal-dialog" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title">修改题集信息</h4>
                                </div>
                                <form class="form-horizontal" role="form">
                                    <input type="hidden" class="set-id">
                                    <div class="modal-body">
                                        <div class="form-group">
                                            <label class="col-sm-4 control-label">题集名</label>
                                            <div class="col-sm-6">
                                                <input type="text" class="form-control" id="set-name" name="name">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-danger" data-dismiss="modal" onclick="editorSetName()">确定</button>
                                        <button type="button" class="btn btn-primary" data-dismiss="modal">取消</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                    <!--删除题集modal-->
                    <div class="modal fade" id="delTest" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                        <div class="modal-dialog" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                                    <h4 class="modal-title">删除班级</h4>
                                </div>
                                <form class="form-horizontal">
                                    <input id="set-id" hidden>
                                    <div class="modal-body">
                                        <div class="panel panel-default">
                                            <div class="panel-body" id="message">此操作将删除整个试题的所有信息</div>
                                        </div>
                                        <div class="checkbox text-info">
                                            <label onclick="alDelete()">
                                                <input id="chkboxAllowDelete" type="checkbox"> 我已经充分了解后果，并同意删除
                                            </label>
                                        </div>
                                    </div>
                                    <div class="modal-footer">
                                        <button id="delButton" class="btn btn-danger disabled" onclick="deleteTopicSet()">确认删除</button>
                                        <button class="btn btn-default" data-dismiss="modal">取消</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <!--试题表格-->
                <div class="test-quesiont">
                    <table class="table">
                        <thead>
                        <tr type="1">
                            <td>#</td>
                            <td>科目</td>
                            <td>册次</td>
                            <td>章节</td>
                            <td>题目</td>
                            <td>类型</td>
                            <td>难度</td>
                            <td>删除</td>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                    <!--分页条-->
                    <div class="topic-page text-center">

                    </div>
                </div>
                <!--modal 题目-->
                <!--选择题-->
                <div class='modal fade' id='modal-topic' tabindex='-1' role='dialog'>
                    <div class='modal-dialog' role='document'>
                        <div class='modal-content'>
                            <div class='modal-header'>
                                <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>
                                <h4 class='modal-title text-center'>某选择题</h4>
                            </div>
                            <div class='modal-body'>

                            </div>
                            <div class='modal-footer'>
                                <button type='button' class='btn btn-default' data-dismiss='modal'>关闭</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--网页脚-->
<script src="/dtpr/js/foot.js"></script>
<script src="/dtpr/Flat-UI/js/flat-ui.min.js"></script>
<script src="/dtpr/bootstrap-select/js/bootstrap-select.min.js"></script>
<script src="/dtpr/html/teacher/test/js/test.js"></script>
<script src="/dtpr/html/teacher/test/js/testQuestion.js"></script>
<script>
    navigationOpen("panel-element-2120761");
</script>
</body>
</html>


